package com.aiti.lulian.config;

import com.aliyun.teaopenapi.models.Config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * description:
 * auth fcb
 * date 2025-06-07 10:43
 **/
@Configuration
@Slf4j
public class OCRConfig {

    @Bean
    public Config getConfig() {
        Config config = new Config();
        config.setAccessKeyId("LTAI5t5dBwz1ALTSsZiu635j");
        config.setAccessKeySecret("jhPEaXnpWA22bZV4d3JqwoE44CugDS");
        config.endpoint = "ocr-api.cn-hangzhou.aliyuncs.com";

        return config;
    }

}
